body {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin: 0;
  padding: 0;

  background: url('./src/assets/20617.jpg') fixed center / cover;

  color: rgb(252, 255, 240);
}

.searchForm {
  display: flex;
  gap: 10px;
  margin: 30px 50px;
  width: 100%;
  max-width: 700px;
}

.searchForm_input {
  flex: 1 1;
  height: 30px;
  padding: 0 10px;
  font-size: 14px;
  border: 1px solid rgb(129, 128, 128);
  background-color: rgba(27, 29, 29, 0.9);
  color: rgb(252, 255, 240);
}

.searchForm_button {
  padding: 0 20px;
  font-size: 14px;
  border: 1px solid rgb(129, 128, 128);
  background-color: rgba(27, 29, 29, 0.9);
  color: rgb(252, 255, 240);
}

.passengerList {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin: 0;
  padding: 0;
}

.passenger {
  box-sizing: border-box;
}

.passengerList_item {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    'name name name name'
    'gender age survived ticket';
  list-style: none;
  background-color: rgba(27, 29, 29, 0.9);
  padding: 10px;
}

.passenger_gender,
.passenger_age,
.passenger_survived,
.passenger_ticket {
  margin: 0;
}

.passenger_name {
  margin: 10px 0 20px;
  grid-area: name;
}
.passenger_gender {
  grid-area: gender;
}
.passenger_age {
  grid-area: age;
}
.passenger_survived {
  grid-area: survived;
}
.passenger_ticket {
  grid-area: ticket;
}

.btn-up {
  position: fixed;
  right: 20px;
  bottom: 15px;

  width: 80px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;
  background-color: rgba(27, 29, 29, 0.9);
  border: 1px solid rgb(129, 128, 128);
  color: rgb(129, 128, 128);
  transition: all 0.3s;
}

.btn-up_hide {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: #1a3464;
    transform: scale(110%);
  }
}
